﻿.mud-select {
    display: flex;
    flex-grow: 1;
    position: relative;

    &.mud-autocomplete {
        display: block;

        & .mud-select-input {
            cursor: text;
        }

        & .mud-input-adornment {
            cursor: pointer;
        }
    }

    .mud-select-input {
        cursor: pointer;

        & .mud-input-slot {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        & .mud-input-adornment-end {
            margin-left: 0;
        }

        &:disabled {
            cursor: default;
        }
    }

    .mud-disabled {
        .mud-select-input {
            cursor: default;
        }
    }
}


.mud-select > .mud-form-helpertext {
    margin-top: -21px;
}

.mud-selected-item {
    color: var(--mud-palette-primary);
    background-color: var(--mud-palette-primary-hover);
}

.mud-select-all {
    margin-top: 10px;
    border-bottom: 1px solid lightgrey;
    padding-bottom: 18px;
}
